package com.blb.zycommunity.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.blb.zycommunity.entity.ZyOwner;
import com.blb.zycommunity.entity.ZyOwnerRoom;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 房屋绑定表  服务类
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
public interface IZyOwnerRoomService extends IService<ZyOwnerRoom> {

    void removeZyOwnerRoom(String ownerId,String roomId);

    IPage<ZyOwnerRoom> findOwnerReviewPage(Long current, Long size, String communityId, String roomStatus);


    List<ZyOwnerRoom> findAll();

    void updatePass(String ownerRoomId);

    void updateNotPass(String ownerRoomId);


    List<ZyOwnerRoom> findByOwnerId(String ownerId);
}
